<?php
class Test{

    public static function A(){
        echo 'A method';
    }

    public function B(){
        return static::A(); //static::A 调用自身的静态方法 A
    }
}